package pojo;

import com.google.gson.Gson;

public class Tip {
    private String userId;             //顾客标识
    private String orderNum;           //订单号
    private String seat;            //座号
    private String orderTime;       //订单时间
    private String status;          //支付状态
    private String money;           //金额
    private String details;         //订单详情

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public Tip(String userId, String orderNum, String seat, String orderTime, String money, String status, String details) {
        this.userId = userId;
        this.orderNum = orderNum;
        this.seat = seat;
        this.orderTime = orderTime;
        this.status = status;
        this.details = details;
        this.money = money;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getSeat() {
        return seat;
    }

    public void setSeat(String seat) {
        this.seat = seat;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
